#include "entity.h"

Entity::Entity(entityType eType, boost::shared_ptr<btDynamicsWorld> ownerWorld) : body( this, ownerWorld )
{
	type = eType;
	isPicked = false;
}

void Entity::updatePosition()
{
	for ( unsigned int b = 0; b < body.m_bodyparts.size(); b++ )
		body.m_bodyparts[b]->updatePosition();
}

Entity::~Entity()
{
}


